<template>
  <div id="app">
    <div>
      <MessageButton :info="infoa"></MessageButton>
      <MessageButton :info="infob"></MessageButton>
      <Message></Message>
    </div>    
  </div>
</template>

<script>
import MessageButton from './component/button.vue'
import Message from './component/message.vue'

export default {
  data () {
    return {
      infoa: { name: '+', type: '+' },
      infob: { name: '-', type: '-' }
    }
  },
  components: { MessageButton, Message }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
